﻿using System;

namespace DesignPattern.com.strategy.demo {
    public class DireStrategy :IStrategy{
        public override void Algorithm(){
            Console.WriteLine("{0}","DireStrategy");
            
        }

        public override void InitAttr(ICharacterAttr attr){
            if (!(attr is DireAttr)){
                
            }   
            
        }

        public override float AtkPlusValue(ICharacterAttr attr){
            return 1;
        }

        public override float DmageDesc(ICharacterAttr attr){
            return 0;
        }
    }
}